package com.tan.chowder.login.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tan.chowder.login.bean.User;
import com.tan.chowder.login.entity.SysUserDO;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SysUserMapper extends BaseMapper<SysUserDO> {

    User getUserByUsername(String username);
//    List<Integer> getRolesIdByUserId(Integer uid);
//    void removeRolesIdByUserId(Integer uid);
//    void addRoleIdByUserId(@Param("uid") Integer uid, @Param("rid") Integer rid);

}